package com.deer.wms.ware.task.model.Wave;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.persistence.Column;
import java.util.Date;

/**
 * @author ll
 */
@Getter
@Setter
@NoArgsConstructor
public class WaveMasterDto extends  WaveMaster{

    private String customerName;
    private String carrierName;
    private String soTyName;

    @Column(name = "wave_tactic_code")
    private String waveTacticCode;

    @Column(name = "wave_tactic_name")
    private String waveTacticName;

    /**
     * 优先级  数字越大 等级越高
     */
    @Column(name = "priority_level")
    private Integer priorityLevel;

    /**
     * 0-未激活，1-激活
     */
    private Integer state;

    @Column(name = "ware_id")
    private Integer wareId;

    /**
     * 客户
     */
    @Column(name = "customer_id")
    private Integer customerId;

    /**
     * 承运商
     */
    @Column(name = "carrier_id")
    private Integer carrierId;

    /**
     * 订单类型
     */
    @Column(name = "so_type")
    private Integer soType;

    private String lastTime;

    /**
     * 订单结构  1：一单一品一件  2：一单一品多件 3：一单一品 4：一单多品
     */
    @Column(name = "so_structure")
    private Integer soStructure;

    /**
     * 订单发运截止时间
     */
    @Column(name = "so_deadline")
    private Date soDeadline;

    /**
     * 最大订单数
     */
    @Column(name = "so_count_limit")
    private Integer soCountLimit;

    /**
     * 最大SKU数
     */
    @Column(name = "item_count")
    private Integer itemCount;

    /**
     * 是否播种，1-是，0-否
     */
    @Column(name = "is_seeding")
    private Integer isSeeding;

    private Integer maxWaitTime;

}
